<?php
defined('APP_PATH')
	|| define('APP_PATH', realpath(dirname(__FILE__) . '/app'));
defined('APP_ENV')
		|| define('APP_ENV',
				  (getenv('APP_ENV') ? getenv('APP_ENV') : 'e4c'));

set_include_path(implode(PATH_SEPARATOR, array(
				dirname(__FILE__) . '/library',
				get_include_path(),)));
include ('Zend/Application.php');
$app = new Zend_Application ( APP_ENV, APP_PATH . '/config/config.ini' );
$app->bootstrap ()->run ();